<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>熙心健康体检系统</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
       
        body {
            background-color: #f5f5f5;
        }
       
        /* 顶部黑色边框 */
        .header {
            background-color: #000;
            color: white;
            height: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            position: sticky;
            top: 0;
            z-index: 100;
        }
       
        .header-title {
            font-size: 20px;
            font-weight: bold;
        }
       
        .admin-area {
            display: flex;
            align-items: center;
        }
       
        .admin-name {
            margin-right: 15px;
        }

        /* 修改为链接样式 */
        .logout-link {
            background-color: #ff0000;
            color: white;
            text-decoration: none;
            padding: 5px 10px;
            border-radius: 3px;
            display: inline-block;
        }

        .logout-link:hover {
            background-color: #cc0000;
        }
       
        /* 主体布局 */
        .container {
            display: flex;
            min-height: calc(100vh - 60px);
        }
       
        /* 左侧黑色边框导航 */
        .sidebar {
            width: 200px;
            background-color: #000;
            padding: 20px 0;
            position: sticky;
            top: 60px;
            height: calc(100vh - 60px);
            overflow-y: auto;
        }
       
        .nav-menu {
            list-style: none;
        }
       
        .nav-menu li {
            padding: 12px 20px;
        }
       
        .nav-menu a {
            color: white;
            text-decoration: none;
            display: block;
        }
       
        .nav-menu a:hover {
            color: #ddd;
        }
       
        /* 主内容区域 */
        .main-content {
            flex: 1;
            padding: 20px;
            background-color: #fff; /* 主内容区背景设为白色 */
        }
       
        .welcome-image {
            width: 100%;
            display: flex;
            justify-content: center; /* 水平居中 */
            margin-bottom: 20px;

        }
       
        .welcome-image img {
            max-width: 100%;
            height: auto;
            display: block; /* 确保图片居中 */
            margin: 0 auto; /* 图片自身居中 */

        }
       
        .welcome-image img {
            max-width: 100%;
            height: auto;
            display: block; /* 确保图片居中 */
            margin: 0 auto; /* 图片自身居中 */
        }
       
        .welcome-text {
            text-align: center;
            margin-bottom: 10px;
            font-size: 18px;
        }
       
        .slogan {
            text-align: center;
            color: #888;
            font-style: italic;
        }
    </style>
</head>
<body>
    <!-- 顶部黑色边框 -->
    <div class="header">
        <div class="header-title">熙心健康体检系统</div>
        <div class="admin-area">
            <span class="admin-name">系统管理员：admin</span>
            <!-- 修改为超链接 -->
            <a href="http://127.0.0.1:8848/xikangdemo1/team12/login.html" class="logout-link">OUT</a>
        </div>
    </div>
   
    <!-- 主体内容 -->
    <div class="container">
        <!-- 左侧黑色边框导航 -->
        <div class="sidebar">
            <ul class="nav-menu">
         <li><a href="http://127.0.0.1:8848/xikangdemo1/team12/shouye.html">首页</a></li>
                <li><a href="http://127.0.0.1:8848/xikangdemo1/team12/order.html">体检预约</a></li>
                <li><a href="http://127.0.0.1:8848/xikangdemo1/team12/orderlist.html">预约列表</a></li>
                <li><a href="http://127.0.0.1:8848/xikangdemo1/team12/binglidemo.html">体检客户查询</a></li>
            </ul>
        </div>
       
        <!-- 主内容区域 -->
        <div class="main-content">
            <div class="welcome-image">

                <img src="img/welcom.PNG" alt="欢迎图片"/>
            </div>
            <div class="welcome-text">欢迎进入熙心健康体检系统后台管理</div>
            <div class="slogan">高效办公，高效生活</div>
        </div>
    </div>
</body>
</html>